<template>
  <div class="card_log">
    <!-- <button @click="eee" dange>dianwo</button> -->
    <!-- <lottie-player
      v-if="test"
      src="https://assets4.lottiefiles.com/packages/lf20_wys2rrr6.json"
      background="transparent"
      speed="1"
      style="width: 300px; height: 300px"
      loop
      controls
      autoplay
    ></lottie-player> -->
    <!-- <button class="custom-btn btn-16">换风格</button>
    <div class="test_button">
      <button class="test01">拟态风格</button>
    </div> -->
  </div>

  <div></div>
</template>

<script lang="ts" setup>
import { ref } from '@vue/reactivity'
import { onMounted } from '@vue/runtime-core'

const test = ref(true)
const eee = () => {
  test.value = !test.value
}
const lottieRef = ref({})
onMounted(() => { })
</script>
<style lang="less" scoped>
.card_log {
  float: left;
  // background-color: rgb(228, 170, 11);
  width: 300px;
  height: 440px;
  margin: 5px 2px;
  border-radius: 10px;
}
button {
  margin: 20px;
}
.custom-btn {
  width: 100px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
    7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  outline: none;
}
.btn-16 {
  border: none;
  color: #000;
}
.btn-16:after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  direction: rtl;
  z-index: -1;
  box-shadow: -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9,
    7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001;
  transition: all 0.5s ease;
}
.btn-16:hover {
  color: #000;
}
.btn-16:hover:after {
  left: auto;
  right: 0;
  width: 100%;
}
.btn-16:active {
  top: 2px;
}

.test_button {
  --white: #ffffff;
  --color-1: #e4ebf5;
  --color-2: #c8d0e7;
  --color-3: #9baacf;
  --box-shadow: inset 0.2rem 0.2rem 0.5rem var(--color-2),
    inset -0.2rem -0.2rem 0.5rem var(--white);
  --active-shadow: 0.3rem 0.3rem 0.6rem var(--color-2),
    -0.2rem -0.2rem 0.5rem var(--white);
  height: 200px;
  display: flex;
  overflow: hidden;
  background: var(--color-1);
}
.test01 {
  margin: auto;
  color: var(--color-3);
  outline: none;
  border: none;
  height: 40px;
  width: 150px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  font-weight: 800;
  line-height: 40px;
}

.test01:active {
  box-shadow: var(--active-shadow);
}
</style>
